#ifndef SNFeatureParams_h__
#define SNFeatureParams_h__
//--------------------------------------------------
#include "SNCVParams.h"
//--------------------------------------------------
class SNFeatureParams : public SNCVParams
{
public:
	SNFeatureParams();
	~SNFeatureParams();

	enum { HAAR = 0, LBP = 1, HOG = 2 };
	
	virtual void Init(const SNFeatureParams& fp);
	virtual void Write(cv::FileStorage &fs) const;
	virtual bool Read(const cv::FileNode &node);
	static cv::Ptr<SNFeatureParams> Create(int feature_type);

	int MaxCatCount; // 0 in case of numerical features
	int FeatSize; // 1 in case of simple features (HAAR, LBP) and N_BINS(9)*N_CELLS(4) in case of Dalal's HOG features
};
//--------------------------------------------------

struct SNLBPFeatureParams : SNFeatureParams
{
	SNLBPFeatureParams();

};

#endif // SNFeatureParams_h__
